package cn.fsd.service;

import cn.fsd.domain.Suppliers;
import cn.fsd.query.delivery.SupplierQuery;
import cn.fsd.vo.PageBean;
import java.util.List;

public interface SupplierService {
  List<Suppliers> getAllSuppliers();

  PageBean<Suppliers> getSuppliersByPage(SupplierQuery query);

  Suppliers getSupplierByName(String name);

  List<Suppliers> getSuppliersByName(String name);

  String addNewSupplier(Suppliers supplier);

  void removeSupplierById(String supplierId);

  void updateSupplier(Suppliers supplier);

  Suppliers getSupplierByID(String id);
}
